
#pragma once

#include <guichan.hpp>

class itemWndListener_t : public gcn::ActionListener
{
	bool action(const gcn::ActionEvent& actionEvent);
};

const int ITEM_ROWS = 5;
const int ITEM_COLS = 5;

typedef vector<gcn::ImageButtonItem*> vcBtnItem;

class itemWnd_t
{
public:
	static void init();
	static void release();

public:
	static gcn::Window* wnd;
	static itemWndListener_t* listener;
	
	static gcn::Button* btnCancel;

	static vcBtnItem btniItems;
	static gcn::Label* lblItemName;
	static gcn::Label* lblItemNameVal;
	static gcn::TextBox* tbItemBrief;
};
